package com.bytz.modules.cms.order.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 莱宝CMS—订单管理-订单信用发货信息表
 * </p>
 *
 * @author KyleWang
 * @since 2022-10-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cms_order_credit_delivery")
@ApiModel(value = "OrderCreditDelivery对象", description = "莱宝CMS—订单管理-订单信用发货信息表")
public class OrderCreditDelivery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "发货地址")
    private String shipToAddress;

    @ApiModelProperty(value = "发货联系人")
    private String shipToContact;

    @ApiModelProperty(value = "发货联系人电话")
    private String shipToPhone;

    @ApiModelProperty(value = "状态（草稿；审核中；已通过；已驳回；已结清）")
    private String status;

    @ApiModelProperty(value = "删除状态")
    @TableLogic
    private Integer delFlag;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建人姓名")
    private String createByName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新人姓名")
    private String updateByName;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "流程审批人")
    private String auditUsers;

    @ApiModelProperty(value = "下一节点处理人")
    private String nextAuditUsers;

    @ApiModelProperty(value = "流程实例Id")
    private String procInstId;

    @ApiModelProperty(value = "提交时间")
    private LocalDateTime submitTime;

    @ApiModelProperty(value = "完成时间")
    private LocalDateTime completeTime;


}
